package com.gtw.dto;

import com.gtw.modules.entity.TbUser;

import java.util.Date;

public class TbDiscussDto {

    /**
     * id
     */
    private Integer id;
    /**
     * 创建时间
     */
    private Date createdate;
    /**
     * 商品ID
     */
    private Integer commodityid;
    /**
     * 内容
     */
    private String content;
    /**
     * 图片
     */
    private String pic;
    /**
     * 用户UID
     */
    private TbUser tbUser;

    private boolean islike;

    private Integer likenum;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public Integer getCommodityid() {
        return commodityid;
    }

    public void setCommodityid(Integer commodityid) {
        this.commodityid = commodityid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public TbUser getTbUser() {
        return tbUser;
    }

    public void setTbUser(TbUser tbUser) {
        this.tbUser = tbUser;
    }

    public boolean isIslike() {
        return islike;
    }

    public void setIslike(boolean islike) {
        this.islike = islike;
    }

    public Integer getLikenum() {
        return likenum;
    }

    public void setLikenum(Integer likenum) {
        this.likenum = likenum;
    }
}
